package cn.edu.imust.loginregisterdemo.home.model.domain;

import retrofit2.Call;
import retrofit2.http.GET;
import retrofit2.http.Query;

public interface Api {

    @GET("download")
    Call<DownDataResult> requestDataFirst(@Query("username") String username);

    @GET("download")
    Call<DownDataResult> requestData(@Query("username") String username,
                               @Query("time") String time);
}
